Pattern Matching in Trace Monoids

نویسنده

  • Jochen Messner
چکیده

An algorithm is presented solving the factor problem in trace monoids Given two traces represented by words the algorithm determines in linear time whether the rst trace is a factor of the second one The space used for this task is linear in the length of the rst word Similar to the Knuth Morris Pratt Algorithm for the factor problem on words the algorithm simulates a nite automaton determined by the rst word on the second word To develop the algorithm we examine overlaps of two traces and show that they form a lattice Finally we investigate the lattice of extensible trace pairs which represent still extensible pre xes of a searched factor appearing in some other trace because of their close relations to the structures used by the algorithm

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Inclusion Problems in Trace Monoids

We suggest a number efficient pattern matching algorithms for dependence graphs of traces. A graph G = (V, E, λ) of partial order labeled by letters from alphabet Σ belongs to this class iff there exists a reflexive and symmetric relation D ⊂ Σ × Σ such that if v <G v′ and (λ(v).λ(v′)) ∈ D → (v, v′) ∈ E. We consider pattern matching problems related to problems of recognizing frequent patterns ...

متن کامل

The Trace Monoids in the Queue Monoid and in the Direct Product of Two Free Monoids

We prove that a trace monoid embeds into the queue monoid if and only if it embeds into the direct product of two free monoids. We also give a decidable characterization of these trace monoids.

متن کامل

Matrix representations of trace monoids

We consider trace monoids i.e., free monoids where some pairs of letters are allowed to commute. We show that such monoids can be faithfully represented by 22-matrices with integer entries if and only if it they are direct products of a free commutative monoid with a free product of free commutative monoids.

متن کامل

On Recognizable Languages in Divisibility Monoids

Kleene’s theorem on recognizable languages in free monoids is considered to be of eminent importance in theoretical computer science. It has been generalized into various directions, including trace and rational monoids. Here, we investigate divisibility monoids which are defined by and capture algebraic properties sufficient to obtain a characterization of the recognizable languages by certain...

متن کامل

Some Undecidability Results Related to the Star Problem in Trace Monoids

This paper deals with decision problems related to the star problem in trace monoids, which means to determine whether the iteration of a recognizable trace language is recognizable. Due to a theorem by Richomme from 1994 30, 31], we know that the Star Problem is decidable in trace monoids which do not contain a C4-submonoid. The C4 is (isomorphic to) the Cartesian Product of two free monoids o...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1997